package org.springblade.modules.auth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description: h5微信绑定手机号dto
 * @author: luoyt
 * @create: 2024-08-24 18:06
 **/
@Data
@Schema(description = "用户协助开通dto")
public class H5BindPhoneDTO implements Serializable {

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "验证码key")
    @NotEmpty
    private String smsKey;

    @Schema(description = "验证码")
    @NotEmpty
    private String code;

    @Schema(description = "openId")
    @NotEmpty
    private String openId;
}